package com.joysuch.wwyt.workflow.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author ZhaoQiuWei
 * @Date 2021/5/14 17:19
 */
@Data
public class WorkFlowProcessCodeStrategyBean {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("编号前缀")
    private String codePrefix;

    @ApiModelProperty("时间戳: 0 yyyymmdd ,1 yyyymm ,2 yyyy")
    private Integer timestamp;

    @ApiModelProperty("流水号: 0 一直递增 ,1 天 2 月,3 年")
    private String codeStrategy;

    @ApiModelProperty("是否有分隔符:0否 1是")
    private Integer separatorFlag;

    @ApiModelProperty("示例")
    private String example;

    @ApiModelProperty("是否使用日期")
    private Boolean isDateFormat;
}
